﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Imladris.Entities;
using Imladris.UI.Repositories.Interfaces;
using Microsoft.Practices.Unity;
using Microsoft.Practices.Unity.Configuration;

namespace Imladris.UI.Manager
{
    public class DocumentManager
    {
       
        private IDocumentsRepository _repository;

        public DocumentManager(IDocumentsRepository repository)
        {
            _repository = repository;
        }

        public List<Document> GetAllDocuments()
        {
            return _repository.GetDocumentList();
        }
    }
}
